﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpiceNet.Diagnostics
{
    /// <summary>
    /// An exception used to throw exceptions when current or power is asked in AC analysis
    /// </summary>
    [Serializable]
    public class AcCurrentPowerException : CircuitException
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public AcCurrentPowerException()
            : base("Current and power is not available for AC analysis")
        {

        }
    }
}
